package com.lry.crawlers.fiction.service;

import com.lry.crawlers.fiction.entity.Fiction;
import com.lry.crawlers.fiction.entity.FictionUpdate;

import java.io.IOException;
import java.util.List;
import java.util.Map;

public interface FictionService {

    int setFiction(Fiction fiction);

    int setFictions(List<Fiction> fictions);

    List<Integer> removeDuplicates(List<String> titles);

    void setupdateTime(Fiction fiction);


    boolean removeDuplicate(String s);
}
